package cn.shujuhai.cms.domain;

import cn.shujuhai.common.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author: zhangDeZhong
 * @Date: 2024/12/5 12:01
 * @Description: info_content文章内容表的实体类
 **/
@EqualsAndHashCode(callSuper = true)
@TableName(value = "info_content")
@Data
public class InfoContent extends BaseDomain {
    /**
     * 文章内容ID
     */
    @TableId(type = IdType.AUTO)
    private Long contentId;

    /**
     * 文章内容
     */
    private byte[] content;

    /**
     * 文章ID
     */
    private Long articleId;

}